﻿using System;

namespace Framework.Exceptions.ServiceExceptions
{ 
    public class InvalidMethodRequest : Exception
    {
        public string Details { get; set; }
        
        public InvalidMethodRequest(string message)
            :base(message)
        {}

        public InvalidMethodRequest(string message, string details)
            : base(message)
        {
            Details = details;
        }
    }
}
